// @ts-ignore
/* eslint-disable */
import { request } from "@umijs/max";

/** 此处后端没有提供注释 GET /result/${param0}/${param1} */
export async function getResultByUser(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getResultByUserParams,
  options?: { [key: string]: any }
) {
  const { userId: param0, interviewId: param1, ...queryParams } = params;
  return request<API.BaseResponseResult>(`/result/${param0}/${param1}`, {
    method: "GET",
    params: { ...queryParams },
    ...(options || {}),
  });
}
